﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tools.Framework
{
    public class PinyingHelper
    {
        /// <summary>
        /// 首字母转拼音
        /// </summary>
        /// <returns></returns>
        public static string ToPinyinLower(string str)
        {
            return string.Join("", str.ToList().Select(a => MyHelper4Web.MyPinYinHelper.GetFirstPY(a.ToString()).ToLower()));
        }
    }
}
